package com.sqoop.core.request;

import com.sqoop.core.msg.Msg;
import com.sqoop.core.msg.MsgDestination;

/**
 * Created by zw on 2017/11/6.
 */
public class Response extends Request{
    private Request request;
    
    public Response(Request request){
        super();
        this.request = request;
        setSender(request.getReceiver());
        setReceiver(request.getSender());
        setDstTaskName("sender");
        setMsgid(request.getMsgid());
    }

    public Request getRequest() {
        return request;
    }

    public void setRequest(Request request) {
        this.request = request;
    }


}